﻿using System;
using System.Web.Mvc;

namespace octalforty.Componento.Web.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            Response.AppendHeader(
                "X-XRDS-Location", new Uri(Request.Url, Response.ApplyAppPathModifier("~/home/xrds")).AbsoluteUri);

            return View();
        }

        public ActionResult Xrds()
        {
            return View();
        }
    }
}
